﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Practices.Unity;
using Web.SystemConfig.Services;
using System.Data;

namespace Web
{
    public partial class Index : PageBase
    {
        [Dependency]
        public ISystem_Pluralist System_PluralistComponent
        {
            get;
            set;
        }
       public int  usertodocount=0;

       protected void Page_Load(object sender, EventArgs e)
       {
           if (!IsPostBack)
           {
           }
           currentuseid.Value = CurrentUser.User_ID;
       }
      

        /// <summary>
        /// 获取用户信息
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        private DataTable GetUserInfo(string userId)
        {
            IMDataHelper dal = new IMDataHelper();
            string sql = "select a.*,b.Org_Name from P_AUTH_User  a join P_Auth_Org  b on a.ORG_ID=b.ORG_ID  where User_Id ='" + userId + "'";
            return dal.DBHelper.ExecuteDataSet(sql).Tables[0];
        }
    }
}
